ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / ListBox<T> Class
Properties Methods


In This Topic
    ListBox<T> Class Members
    In This Topic

    The following tables list the members exposed by ListBox<T>.

    Public Constructors
     NameDescription
    Public ConstructorCreates one ListBox<T> instance.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a value that determines whether searches performed while the user types should case-sensitive.  
    Public PropertyGets or sets a list containing the indexes of checked items.  
    Public PropertyGets or sets the name of the property used to control checkboxes placed next to each item.  
    Public PropertyGets or sets a list containing the item-values that are currently checked.  
    Public PropertyGets the child components. (Inherited from C1.Web.Mvc.Component)
    Public PropertyGets or sets the css class of the control. (Inherited from C1.Web.Mvc.Control)
    Public PropertyGets the CSS style applied in the control. (Inherited from C1.Web.Mvc.Control)
    Public PropertyGets or sets the name of the property to use as the visual representation of the items.  
    Public PropertyGets or sets the height of the control. (Inherited from C1.Web.Mvc.Control)
    Public PropertyGets the HTML attributes. (Inherited from C1.Web.Mvc.Control)
    Public PropertyGets or sets the component id. (Inherited from C1.Web.Mvc.Component)
    Public PropertyGets or sets a value indicating whether the list displays items as plain text or as HTML.  
    Public PropertyGets or sets a value that determines whether the control is disabled. (Inherited from C1.Web.Mvc.Control)
    Public PropertyGets or sets a boolean value which indicates whether transfer this control to template mode. (Inherited from C1.Web.Mvc.Control)
    Public PropertyGets or sets a function used to customize the values shown in the list.  
    Public PropertyGets or sets the value of the "role" attribute added to the list items.  
    Public PropertyGets or sets ItemsSource settings. (Inherited from C1.Web.Mvc.ItemsBoundControl<T>)
    Public PropertyGets or sets the ItemsSourceId specify which CollectionViewService will be used for this control. (Inherited from C1.Web.Mvc.ItemsBoundControl<T>)
    Public PropertyGets or sets the id of the template used to generate each list item.  
    Public PropertyGets or sets the id of the template used to generate each list item.  
    Public PropertyGets or sets the maximum height of the list.  
    Public PropertyOccurs when the value of the @see:checkedItems property changes.  
    Public PropertyOccurs when an element representing a list item has been created.  
    Public PropertyOccurs when the control gets the focus. (Inherited from C1.Web.Mvc.Control)
    Public PropertyOccurs when the current item is checked or unchecked.  
    Public PropertyOccurs when the list of items changes.  
    Public PropertyOccurs after the list items are generated.  
    Public PropertyOccurs before the list items are generated.  
    Public PropertyOccurs when the control loses the focus. (Inherited from C1.Web.Mvc.Control)
    Public PropertyOccurs after the control has refreshed its contents. (Inherited from C1.Web.Mvc.Control)
    Public PropertyOccurs when the control is about to refresh its contents. (Inherited from C1.Web.Mvc.Control)
    Public PropertyOccurs when the value of the SelectedIndex property changes.  
    Public PropertyGets or sets the index of the currently selected item in the list.  
    Public PropertyGets or sets the item that is currently selected in the list.  
    Public PropertyGets or sets the value of the SelectedItem, obtained using the SelectedValuePath.  
    Public PropertyGets or sets the name of the property used to get the SelectedValue from the SelectedItem.  
    Public PropertyGets or sets the selector to macth the dom element(s) which the control is attached to. (Inherited from C1.Web.Mvc.Control)
    Public PropertyGets or sets a value that determines whether the drop-down should include group header items to delimit data groups.  
    Public PropertyGets or sets a value of the tabindex attribute associated with the control. (Inherited from C1.Web.Mvc.Control)
    Public PropertyGets the collection of the template bindings. (Inherited from C1.Web.Mvc.Control)
    Public PropertyGets a value which represents the unique id for the control. (Inherited from C1.Web.Mvc.Control)
    Public PropertyGets or sets the minimum number of rows and/or columns required to enable virtualization in the ListBox.  
    Public PropertyGets or sets the width of the control. (Inherited from C1.Web.Mvc.Control)
    Top
    Protected Properties
     NameDescription
    Protected PropertyGets or sets a boolean value indicates whether child components are created. (Inherited from C1.Web.Mvc.Component)
    Protected PropertyGets a boolean value indicates whether current component has the scripts which need to be rendered. (Inherited from C1.Web.Mvc.Component)
    Protected PropertyGets the System.Web.UI.HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers. (Inherited from C1.Web.Mvc.Control)
    Protected PropertyGets the url helper. (Inherited from C1.Web.Mvc.Component)
    Top
    Public Methods
     NameDescription
    Public MethodRender the component result to the writer. (Inherited from C1.Web.Mvc.Control)
    Public MethodReturns an HTML-encoded string. (Inherited from C1.Web.Mvc.Component)
    Top
    Protected Methods
     NameDescription
    Protected MethodCreates child components. (Inherited from C1.Web.Mvc.ItemsBoundControl<T>)
    Protected MethodEnsure the child components created. (Inherited from C1.Web.Mvc.Component)
    Protected MethodThis method is performed before rendering. (Inherited from C1.Web.Mvc.Control)
    Protected MethodRegisters the start-up script. (Inherited from C1.Web.Mvc.ItemsBoundControl<T>)
    Protected MethodRenders the html attributes of control. (Inherited from C1.Web.Mvc.Control)
    Protected MethodRenders begin tag of control. (Inherited from C1.Web.Mvc.Control)
    Protected MethodRenders content of control. (Inherited from C1.Web.Mvc.Control)
    Protected MethodRenders end tag of control. (Inherited from C1.Web.Mvc.Control)
    Protected MethodRenders the control markup. (Inherited from C1.Web.Mvc.Control)
    Top
    Extension Methods
     NameDescription
    Public Extension MethodRender the html string in template mode.
    Top
    See Also